package org.dromara.system.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.system.domain.SysUserAddress;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;


/**
 * 地址视图对象 sys_user_address
 *
 * @author Lion Li
 * @date 2025-07-15
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SysUserAddress.class)
public class SysUserAddressVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long id;

    /**
     * 用户id
     */
    @ExcelProperty(value = "用户id")
    private Long userId;

    /**
     * 收货人姓名
     */
    @ExcelProperty(value = "收货人姓名")
    private String addressName;

    /**
     * 收货人电话
     */
    @ExcelProperty(value = "收货人电话")
    private String addressPhone;

    /**
     * 地点,省市区
     */
    @ExcelProperty(value = "地点,省市区")
    private String addressLocation;

    /**
     * 详细地址
     */
    @ExcelProperty(value = "详细地址")
    private String addressDetailed;

    /**
     * 是否默认地址
     */
    @ExcelProperty(value = "是否默认地址")
    private Integer isDefaultAddress;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


    private String userName;

    //创建时间
    private Date createTime;


}
